package com.carleasoft.mps.cms.business.leave.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 请假销假人员表
 * @author: yangHao
 * @createDate:2023/6/14
 * @description:
 */
@Data
@TableName("c_leave_report_user")
public class LeaveReportUserEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 主键id
     */
    private Long id;

    /**
     * 人员编码
     */
    private String code;

    /**
     * 请假销假编码
     */
    private String leaveReportCode;

    /**
     * 请假人编码
     */
    private String userCode;

    /**
     * 请假人
     */
    private String userName;

    /**
     * 类型 1-请假 2-销假
     */
    private Integer type;
}
